<script >
export default{
    data(){
        return{

        }
    },methods:{
        div(){
            console.log('div');
        },
        btn(){
            console.log('btn');
        }
    }
}
</script>

<template>  
<div @click="div">
<input type="button" value="点击(stop)" @click.stop="btn"></div>
<div @click="div">
<input type="button" value="点击" @click="btn"></div>
</template>

<style scoped>

</style>
